package cloud.estate.owner.service;

import cloud.estate.commons.bean.Owner;
import cloud.estate.commons.mapper.OwnerMapper;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface ownerService extends IService<Owner> {
    JsonResult addOneOwner(Owner owner);

    JsonResult deleteOneOwner(String id);

    JsonResult updateOneOwner(Owner owner);

    JsonResult getOneOwner(String id);

    JsonResult listAllOwner();
}
